BinaryStream.Length Property

Syntax

Length as Integer


The length of the file's data fork. If you set the Length property to a value smaller than its current value, it will truncate the file.